<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="虎林信息网,虎林,虎林网,虎林生活网,虎林房产,虎林卖房,虎林二手房,虎林售楼,虎林租房,虎林招聘,虎林求职,虎林新闻,虎林贷款" />
		<meta name="Description" content="虎林信息网,是虎林地区最大的网络信息平台,为虎林百姓提供一站式便民服务,覆盖手机及电脑两大平台,免费发布房产、招聘、求职、二手、供求等信息。" />
		<title>【虎林信息网】www.hulin.cc 免费发布虎林信息</title>
		<link rel="stylesheet" href="/bminfo/Public/Home/css/css.css" type="text/css" />
		<link rel="stylesheet" href="/bminfo/Public/Home/css/top.css" type="text/css" />
		<script src="/bminfo/Public/Admin/js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" href="/bminfo/Public/Home/css/css_1.css" type="text/css" />
	</head>
<style type="text/css">

</style>
	<body>
		<!--载入顶部整体top.html-->
		

<div align="center">
	<div class="tDiv">
			<div class="tTop">
				<ul class="t">
					<li><a href="javascript:setHomepage('http://www.hulin.cc');">设为首页</a></li>
					<li><a href="/services/?s=shortcut">保存桌面</a></li>
					<li><a href="/favorite/">我的收藏</a></li>
					<li><a href="/wap/">手机版</a></li>
					<li><a href="/bminfo/index.php/Home/Register/index">用户注册</a></li>
					<li><a href="/bminfo/index.php/Admin/Index/index/">后台管理</a></li>
					<li><?php if( $_SESSION['name']){ echo "<a href='/bminfo/index.php/Home/UserInfo/index' class='dl'>".$_SESSION['name']."  用户中心</a>"; }else{ echo "<a href='/bminfo/index.php/Home/Login/index' class='dl'>登录</a>"; } ?>
						<?php  if(! $_SESSION['name']){ echo "<a href='/services/index.aspx?s=qqLogin' class='dlq'><img src='/bminfo/Public/Home/picture/ico_qq.gif' alt='QQ登录' border='0' align='middle' />登录</a>"; }else{ echo "<a class='dlq' href='/bminfo/index.php/Home/Login/Logout' >退出</a>";} ?>
						
					
					</li>
				</ul>
			</div>
	</div>
	<div class="bTop">
		<div class="top">
			<div class="logo">
				<a href="/"><img src="/bminfo/Public/Home/images/logo.png" alt="<?php echo ($webinfo["web_name"]); ?>" border="0" /></a>
			</div>
			<div class="search">
				<div class="searchBox">
					<form action="/search/index.aspx" method="get" name="seacrh" onsubmit="return action_search()">
						<input type="hidden" name="s" id="searchS" value="1" />
						<div class="searchInputBox">
							<div class="searchSort" id="searchSort" onclick="check_search()">信息</div>
							<ul class="searchCheck" id="searchCheck">
								<li onmouseover="searchOverCheck(this)" onclick="searchCheckSort(1)">信息</li>
								<li onmouseover="searchOverCheck(this)" onclick="searchCheckSort(2)">商家</li>
							</ul>
							<input type="text" class="searchText" name="w" value="" id="txtSearch" onKeyUp="searchSuggest(event);" autocomplete="off" />
							<div class="searchBaidu"><img src="/bminfo/Public/Home/picture/baidu.gif" onclick="actionBaidu()" title="在百度中搜索" /></div>
						</div>
						<input type="submit" class="searchsubmit" value=" " />
					</form>
					<div id="search_suggest" class="searchSuggest"></div>
				</div>
				<div class="hotkeysword">热门搜索：<a href="/search/index.aspx?w=%b5%e7%bb%b0">电话</a>&nbsp;<a href="/search/index.aspx?w=%d5%d0%c6%b8">招聘</a>&nbsp;<a href="/search/index.aspx?w=%b3%f6%ca%db">出售</a>&nbsp;<a href="/search/index.aspx?w=%b3%f6%d7%e2">出租</a>&nbsp;<a href="/search/index.aspx?w=%c2%f4%c2%a5">卖楼</a>&nbsp;</div>
			</div>
			<div class="topshowpic tFl"><img src="/bminfo/Public/Home/picture/rpic.png" width="316" height="108" alt="最方便的信息发布平台" /></div>
			<div class="topflash">
				<embed src="/bminfo/Public/Home/images/bg.swf" style="width:963px; height:80px;" type="application/x-shockwave-flash" quality="high" wmode="transparent">
			</div>
		</div>
		<div class="nav">
			<div class="navbox">
				<ul class="navList">
					<li class="fi "><a href="/">网站首页</a></li>
					<!--<li class="navB navRed "><a href="/ru/">儒房地产</a></li>
					<li class="navB navRed "><a href="/xinxi/s83_a0_m0_p1.html">抵押贷款</a></li>-->
					<?php if(is_array($top_categpry)): foreach($top_categpry as $key=>$topcategpry): ?><li class="navB navBlue "><a href="/bminfo/index.php/Home/Index/index/cat_id/<?php echo ($topcategpry["cat_id"]); ?>" target="_blank"><?php echo ($topcategpry["cat_name"]); ?></a></li><?php endforeach; endif; ?>
					
					<li class="dhli9"><a href="/bminfo/index.php/Home/Info/index">发布信息</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="nav1">
		<ul class="dh1">
			<li><strong>快速导航：</strong></li>
			<li class="fi navRed "><a href="http://www.kuaidi100.com/">快递查询</a></li>
			<li class="navBlue "><a href="http://tieba.baidu.com/f?kw=%BB%A2%C1%D6&amp;fr=ala0">虎林贴吧</a></li>
			<li class="navGreen "><a href="http://map.baidu.com/?newmap=1&amp;ie=utf-8&amp;s=s%26wd%3D%E8%99%8E%E6%9E%97">虎林地图</a></li>
			<li class="navGrape "><a href="http://www.weather.com.cn/weather1d/101051102.shtml">虎林天气</a></li>
			<li class="navRed "><a href="http://www.hljhulin.gov.cn/">虎林政府</a></li>
			<li class="navBlue "><a href="http://hulin.dbw.cn/">虎林新闻网</a></li>
			<li class="navGreen navGrape "><a href="http://www.baidu.com/">百度一下</a></li>
			<li class="navRed "><a href="http://www.taobao.com/">淘宝网</a></li>
			<li class="navBlue "><a href="http://www.youku.com/">优酷网</a></li>
			<li class="ei navGreen "><a href="/news/news_s1_t0_p1.html">虎林资讯</a></li>
		</ul>
	</div>
	<script language="javascript" src="/bminfo/Public/Home/js/m.js"></script>
	<script language="javascript" src="/bminfo/Public/Home/js/search.js"></script>
	
	<!--<script type="text/javascript">
		fQnav("/post/");fWeather("4","500","32");window.onload=function(){correctPNG();}
	</script>-->
	
	
	<div id="qnav" class="qnav" style="left: 1135px; display: block;">
		<ul>
			<li id="liGoTop">
				<img src="/bminfo/Public/Home/images/qnav_1.gif" width="35" height="35" alt="返回顶部" title="返回顶部" onclick="document.documentElement.scrollTop=0;document.body.scrollTop=0">
				
			</li>
			<li>
				<a href="/favorite/">
					<img src="/bminfo/Public/Home/images/qnav_3.gif" width="35" height="35" alt="查看收藏" title="查看收藏">
					
				</a>
			</li>
			<li>
				<a href="/bminfo/index.php/Home/Info/index">
					<img src="/bminfo/Public/Home/images/qnav_4.gif" width="35" height="35" alt="发布信息" title="发布信息">
				</a>
			</li>
			<li id="liGoBottom">
				<img src="/bminfo/Public/Home/images/qnav_2.gif" width="35" height="35" alt="返回底部" title="返回底部" onclick="document.documentElement.scrollTop=document.documentElement.scrollHeight;document.body.scrollTop=document.body.scrollHeight" style="top: 0px; left: 0px;">
			</li>
		</ul>
		</div>
<div id="LDuiLian"  style="width: 131px; height: 301px; overflow: hidden; z-index: 2147483647; position: fixed; top: 189px; left: 10px;">
    <div style="width:120px;height:270px;padding:4px;border:#acacac 1px solid;overflow:hidden;"><img src="<?php echo ($zuoduilian["ad_img"]); ?>" alt="">
    </div>
    <div class='closeDuiLian'  style="position: absolute; width: 131px; height: 20px; left: 0px; cursor: pointer; color: rgb(255, 255, 255); font-size: 12px; font-family: 微软雅黑; text-align: center; line-height: 20px; background-color: rgb(153, 153, 153);">关闭</div>
</div>
<div id="RDuiLian" style="width: 131px; height: 301px; overflow: hidden; z-index: 2147483647; position: fixed; top: 189px; right: 10px;">
    <div style="width:120px;height:270px;padding:4px;border:#acacac 1px solid;overflow:hidden;"><img src="<?php echo ($youduilian["ad_img"]); ?>" alt="">
    </div>
    <div class='closeDuiLian' style="position: absolute; width: 131px; height: 20px; left: 0px; cursor: pointer; color: rgb(255, 255, 255); font-size: 12px; font-family: 微软雅黑; text-align: center; line-height: 20px; background-color: rgb(153, 153, 153);">关闭</div>
</div>
<script>
    //对联js效果
    $(".closeDuiLian").each(function(){
        var _this=$(this);
        _this.mouseover(function(){
          _this.css({'backgroundColor':'rgb(6,84,167)'});   
        });
        _this.mouseout(function(){
          _this.css({'backgroundColor':'rgb(153, 153, 153)'});   
        });
        _this.click(function(){
          _this.parent().css({'display':'none'});   
        });
        
    });
</script>	
	
<div class="main">  <!--全局main-->

		<div class="pstitle"><img src="/bminfo/Public/Home/images/a02.gif"> <a href="/post/">选择分类</a> <img src="/bminfo/Public/Home/images/a02.gif"> <strong>填写详细信息</strong> <img src="/bminfo/Public/Home/images/a02.gif"> 发布成功</div>
		<div class="postDiv">
			<div class="postLeft">
				<div class="postTitle1">填写详细信息
					<div class="postTitle1s">带<span style="color:#FF0000; font-size:14px; padding:5px;">*</span>为必填项</div>
				</div>
				<form action="/bminfo/index.php/Home/Info/insert" method="post" enctype="multipart/form-data" onsubmit="return valiPost('all')" name="postmess">
					<table width="650" class="formTable" border="0" cellpadding="8" cellspacing="0">
						<tbody>
							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>分类：</td>
								<td>
									<div class="textInput" style="width:365px;">
										<span id="select">
											<select name="cat_id" id="topcate">
												<option value="">请选择</option>
												<?php if(is_array($cates)): foreach($cates as $key=>$cate): ?><option value="<?php echo ($cate["cat_id"]); ?>">
														<?php echo str_repeat("&nbsp;&nbsp;┕━", $cate['level']);?>
														<?php echo ($cate["cat_name"]); ?>
													</option><?php endforeach; endif; ?>
											</select>
											
										</span>
										<span id="msg">
									
										</span>
									</div>
									<span id="msg">
									
									</span>
									<script type="text/javascript">
										$("#topcate").change(function(){
											var parentid = $(this).val();
											$.ajax({
										        type: "GET",
										        url: "/bminfo/index.php/Home/Info/getcate/cat_id/"+parentid,
										        //data:"
										        contentType: "application/html; charset=utf-8",
										        dataType: "json",
										        async: true,
										        success: function (obj) {
										        	
										        	$("#msg").html(obj.msg);
										        	
										        }
										    });
										});
									</script>
								</td>
							</tr>
							<tr>
								<td class="head" width="100"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>标题：</td>
								<td>
									<input type="text" name="title" id="q3s5fcyipm7z8x9b" onkeyup="preview()" onblur="valiPost('exTitle')" class="textInput" value="">
									<div class="exDiv" id="exTitle"></div>
									<input type="hidden" name="sort" value="4,7">
								</td>
							</tr>
							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>地区：</td>
								<td>
									<div class="csSelect">
										<div>
											<select name="area_id" id="address">
												<option value="">请选择</option>
												<?php if(is_array($areas)): foreach($areas as $key=>$area): ?><option value="<?php echo ($area["id"]); ?>"><?php echo ($area["area_name"]); ?></option><?php endforeach; endif; ?>
											</select>
										</div>
										<div id="divKfCity"></div>
									</div>
									<div class="exDiv" id="exAddress"></div>
								</td>
							</tr>
							<tr>
								<td class="head">联系人：</td>
								<td>
									<input type="text" name="linkman" id="name" onkeyup="preview()" onblur="valiPost('exName')" class="textInputP" value="">
									<div class="exDiv" id="exName"></div>
								</td>
							</tr>
							<tr>
								<td class="head">地址：</td>
								<td>
									<input type="text" name="adds" id="name" onkeyup="preview()" onblur="valiPost('exName')" class="textInputP" value="">
									<div class="exDiv" id="exName"></div>
								</td>
							</tr>
							<tr>
								<td class="head">价格：</td>
								<td>
									<input type="text" name="price" id="price" onkeyup="preview()" onblur="valiPost('exPrice')" class="textInputP" style="width:140px;" value="0">
									<div class="exLp">元</div>
									<div class="exDiv" id="exPrice"></div>
									<span>面议请填写0</span>
								</td>
							</tr>

							<tr>
								<td class="head">上传图片：</td>
								<td>
									<div id="swfupload-control">
										<table width="100%" border="0">
											<tbody>
												<tr>
													<td id="exTitleimg">
														
														<div class="exDiv" id="fileinput">
															<input type="file" name="fileimg[]" id=""  class="textInput" value=""><img id="addinputimg" src="/bminfo/Public/Admin/images/menu_minus.gif"/>
														</div>
														
													</td>
													
												</tr>
												<tr style="display: block;" id="addinputtr">
													<td><input type="button" id="addinput" value="增加一张图片" /></td>
												</tr>
												<tr>
													<td><span style="line-height:40px; font-size:12px; color:#000000; letter-spacing:1px; color:#333333;">最多可上传<strong>5</strong>张图片，每张图片请小于500KB。</span></td>
												</tr>
											</tbody>
										</table>
										<ul id="preview"></ul>
									</div>
									<input type="hidden" name="pic" id="pic" value="">
								</td>
							</tr>
							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>内容：</td>
								<td>
									<textarea name="content" class="postTextarea" id="content" onkeyup="preview()" onblur="valiPost('exContent')" rows="6" cols="60"></textarea>
									<div class="exDiv" id="exContent"></div>
								</td>
							</tr>
							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>联系方式：</td>
								<td>
									<div class="exLp">手机</div>
									<input type="text" name="tel" id="tel" onkeyup="preview()" onblur="valiPost('exContact')" class="textInputC" value="" size="12">
									<div class="exLp">微信</div>
									<input type="text" name="wechat" id="phone" onkeyup="preview()" onblur="valiPost('exContact')" class="textInputC" value="" size="12">
									<div class="exLp">QQ</div>
									<input type="text" name="qq" id="qq" onkeyup="preview()" onblur="valiPost('exContact')" class="textInputC" value="" size="12">
									<div class="exDiv" id="exContact"></div>
								</td>
							</tr>
							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>有效期：</td>
								<td>
									<input type="text" class="textInputC" name="overdate" value="30" onblur="valiPost('exOverDate')" style="width:60px;" id="overdate">
									<div class="exLp">天</div>
									<div class="exDiv" id="exOverDate"></div>
								</td>
							</tr>
							
							<!--${S15}
		  <tr>
		    <td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>验证问题：</td>
		    <td><div class="ans"><strong>问题：</strong><br /><div class="exLp">回答</div><input type="text" id="vali" name="vali" onfocus="this.value=''" class="textInputC" onblur="valiPost('exVali')" value="请输入问题答案" /><div class="exDiv" id="exVali"></div></div></td>
		  </tr>
		  ${S15}-->

							<tr>
								<td class="head"><span style="color:#FF0000; font-size:14px; padding:5px;">*</span>验证码：</td>
								<td>
									<input type="text" name="validate" id="validate" onblur="valiPost('exValiDate')" class="textInputC">
									<img src="" id="valiPic" onclick="this.src='/bminfo/index.php/Home/Info/verify/cache/'+Math.random()" alt="点击更换图片" style="cursor:pointer; float:left;" align="middle">
									<div class="exDiv" id="msgs"></div>
								</td>
								<script type="text/javascript">
									$("#validate").blur(function(){
											var usercode = $(this).val();
											$.ajax({
										        type: "GET",
										        url: "/bminfo/index.php/Home/Info/checkcode/code/"+usercode,
										        //data:"
										        contentType: "application/html; charset=utf-8",
										        dataType: "json",
										        async: true,
										        success: function (obj) {

										        	$("#msgs").html(obj.msg);
										        }
										    });
										});
								</script>
								
							</tr>

							<tr>
								<td>&nbsp;</td>
								<td>
									<input type="submit" class="postSubmit" value="确认并发布信息">
								</td>
							</tr>
						</tbody>
					</table>
				</form>
			</div>
			<div class="postRight">
				<div class="postTitle2">发布说明</div>
				1.发布信息后会给您一个<span>免费置顶</span>的说明，按照说明操作就可以把您发布的信息<span>免费置顶</span>一周。
				<br>2.要<span>删除过期</span>或<span>违法虚假信息</span>请与本站联系，电&nbsp;话：&nbsp;Ｑ&nbsp;Ｑ：
				<br>3.虎林信息网提供的所有个人服务都是完全免费的。
				<br>
				<br>
				<div class="postTitle2">信息预览</div>
				<div class="messbox10">
					<div class="boxTitle"><a href="#nogo">[房产/出租]<br><span id="iTitle"></span></a></div>
					<div class="boxPrice" id="iPrice"><strong>￥</strong>面议</div>
					<div class="boxContent" id="iContent"></div>
					<div class="boxContact" id="iContact"></div>
					<div class="boxDate"><span id="iDate">1月8</span></div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		<script language="javascript" type="text/javascript">
			if (_q("valiPic") != null) {
				_q("valiPic").src = '/bminfo/index.php/Home/Info/verify/cache/'+Math.random();
			}
			_q("address").onchange = function() {
				valiPost('exAddress');
				acLoadAddress(this.value, '');
			}
			var myDate = new Date();
			_q("iDate").innerHTML = (myDate.getMonth() + 1) + "月" + myDate.getDate();
			_q("iPrice").innerHTML = "<strong>￥</strong>面议";

			function preview() {
				_q("iTitle").innerHTML = _q("q3s5fcyipm7z8x9b").value;
				var vContact = "";
				var vi = 0,
					vc = 95;
				if (_q("name").value != "") {
					vContact = "<span>联系人：</span>" + _q("name").value + "<br />";
					vi++;
				}
				if (_q("tel").value != "") {
					vContact += "<span>手&nbsp;&nbsp;&nbsp;机：</span><span class=\"num\">" + _q("tel").value + "</span><br />";
					vi++;
				}
				if (_q("phone").value != "") {
					vContact += "<span>电&nbsp;&nbsp;&nbsp;话：</span><span class=\"num\">" + _q("phone").value + "</span><br />";
					vi++;
				}
				if (_q("qq").value != "") {
					vContact += "<span>Q&nbsp;&nbsp;&nbsp;Q&nbsp;&nbsp;：</span>" + _q("qq").value + "<br />";
					vi++;
				}
				if (vi > 0) {
					vc = 81;
				}
				if (vi > 1) {
					vc = 67;
				}
				if (vi > 2) {
					vc = 53;
				}
				if (vi > 3) {
					vc = 39;
				}
				_q("iContact").innerHTML = vContact;
				vContent = _q("content").value;
				if (vContent.length > vc) {
					vContent = vContent.substring(0, vc);
				}
				_q("iContent").innerHTML = vContent;
				if (_q("price").value != "") {
					var vPrice = parseFloat(_q("price").value);
					if (vPrice > 10000) {
						vPrice = vPrice / 10000;
						_q("iPrice").innerHTML = "<strong>￥</strong>" + vPrice + "万";
					} else {
						_q("iPrice").innerHTML = "<strong>￥</strong>" + vPrice;
					}
				} else {
					_q("iPrice").innerHTML = "<strong>￥</strong>面议";
				}
			}

			function ifocus() {
				_q("q3s5fcyipm7z8x9b").focus();
			}
			if (getCookie("qth8") != null && getCookie("qth8") != "") {
				_q("q3s5fcyipm7z8x9b").value = getCookie("kTitle");
				_q("name").value = getCookie("kName");
				_q("price").value = getCookie("kPrice");
				_q("pic").value = getCookie("kPic");
				_q("content").value = getCookie("kContent");
				_q("tel").value = getCookie("kTel");
				_q("phone").value = getCookie("kPhone");
				_q("qq").value = getCookie("kQq");
				_q("overdate").value = getCookie("kOverDate");
				_q("adminpassword").value = getCookie("kAdminPassWord");
				alert(decodeURI(escape(getCookie("kState"))));
				sort = getCookie("kAddress")
				if (sort != "") {
					for (i = 0; i < document.postmess.address.options.length; i++) {
						if (document.postmess.address.options[i].value == sort) {
							document.postmess.address.options[i].selected = true;
						}
					}
				}
				preview();
				valiPost("all");
			}
			var bRef = false;

			function valiPost(name) {
				try {
					setCookie("kTitle", _q("q3s5fcyipm7z8x9b").value);
					setCookie("kAddress", _q("address").value);
					if (_q("address1") != null) {
						setCookie("kAddress1", _q("address1").value);
					}
					setCookie("kName", _q("name").value);
					setCookie("kPrice", _q("price").value);
					setCookie("kPic", _q("pic").value);
					setCookie("kContent", _q("content").value);
					setCookie("kTel", _q("tel").value);
					setCookie("kPhone", _q("phone").value);
					setCookie("kQq", _q("qq").value);
					setCookie("kOverDate", _q("overdate").value);
					setCookie("kAdminPassWord", _q("adminpassword").value);
				} catch (e) {}
				bRef = true;
				var errorTag = "";
				if (name == "exTitle" || name == "all") {
					if (_q("q3s5fcyipm7z8x9b").value == "" || _q("q3s5fcyipm7z8x9b").value.length > 50) {
						kflErr("exTitle", "标题50字以内！");
						errorTag = "q3s5fcyipm7z8x9b";
						bRef = false;
					} else {
						kflRig("exTitle");
					}
				}
				if (name == "exName" || name == "all") {
					if (_q("name").value.length > 10) {
						kflErr("exName", "10个字以内！如：张先生");
						bRef = false;
						errorTag = "name";
					} else {
						kflRig("exName");
					}
				}
				if (name == "exPrice" || name == "all") {
					if (_q("price").value != "" && !/^\d+[.]?\d*$/.test(_q("price").value)) {
						kflErr("exPrice", "请输入数字！");
						bRef = false;
						errorTag = "price";
					} else {
						kflRig("exPrice");
					}
				}
				if (name == "exContent" || name == "all") {
					if (_q("content").value == "" || _q("content").value.length > 1000) {
						kflErr("exContent", "请输入内容，1000字以内！");
						bRef = false;
						errorTag = "content";
					} else {
						kflRig("exContent");
					}
				}
				if (name == "exAddress" || name == "all") {
					if (_q("address").value == "") {
						kflErr("exAddress", "请选择所在地！");
						bRef = false;
						errorTag = "address";
					} else {
						kflRig("exAddress");
					}
				}
				if (name == "exOverDate" || name == "all") {
					if (_q("overdate").value == "" || !/^\d+$/.test(_q("overdate").value)) {
						kflErr("exOverDate", "请输入数字！");
						bRef = false;
						errorTag = "overdate";
					} else {
						kflRig("exOverDate");
					}
				}
				if (name == "exAdminPassWord" || name == "all") {
					if (_q("adminpassword").value == "" || _q("adminpassword").value.length > 16) {
						kflErr("exAdminPassWord", "请输入1-16位管理密码！");
						bRef = false;
						errorTag = "adminpassword";
					} else {
						kflRig("exAdminPassWord");
					}
				}
				if (name == "exContact" || name == "all") {
					if (_q("tel").value != "" && !/^\d{11}$/.test(_q("tel").value)) {
						kflErr("exContact", "请输入11位数字的手机号码");
						bRef = false;
						errorTag = "tel";
					} else {
						kflRig("exContact");
						if (_q("phone").value != "" && _q("phone").value.length > 15) {
							kflErr("exContact", "请输入15位以内的电话号	！");
							bRef = false;
							errorTag = "phone";
						} else {
							kflRig("exContact");
							if (_q("qq").value != "" && !/^\d{3,13}$/.test(_q("qq").value)) {
								kflErr("exContact", "请输入13位以内的字数QQ号！");
								bRef = false;
								errorTag = "qq";
							} else {
								kflRig("exContact");
							}
						}
					}
					if (_q("tel").value == "" && _q("phone").value == "" && _q("qq").value == "") {
						kflErr("exContact", "至少填写一个联系方式！");
						bRef = false;
						errorTag = "tel";
					}
				}
				if (name == "exVali" || name == "all") {
					if (_q("vali") != null) {
						if (_q("vali").value == "") {
							kflErr("exVali", "请输入正确答案！");
							bRef = false;
							errorTag = "vali";
						} else {
							fValiSession("15", _q("vali").value, "exVali");
						}
					}
				}
				if (name == "exValiDate" || name == "all") {
					if (_q("validate") != null) {
						if (_q("validate").value == "") {
							kflErr("exValiDate", "<span class=\"freshVali\" onclick=\"document.getElementById('valiPic').src='/bminfo/index.php/Home/Info/cache/+Math.random()\">请输入验证码！看不清？换一张</span>");
							bRef = false;
							errorTag = "validate";
						} else {
							fValiSession("9", _q("validate").value, "exValiDate");
						}
					}
				}
				if (!bRef && errorTag != "") {
					if (name == "all") {
						var xy = getElementPos(_q(errorTag));
						document.documentElement.scrollTop = xy.y - 100;
						_q(errorTag).focus();
					}
				}
				return bRef;
			}

			function fValiSession(name, value, exName) {
				var xmlhttp;
				if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari
					xmlhttp = new XMLHttpRequest();
				} else { // code for IE6, IE5
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				}
				xmlhttp.onreadystatechange = function() {
					if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
						if (xmlhttp.responseText == "True") {
							kflRig(exName);
							bRef = true;
						} else {
							bRef = false;
							if (exName == "exValiDate") {
								kflErr(exName, "<span class=\"freshVali\" onclick=\"document.getElementById('valiPic').src='/bminfo/index.php/Home/Info/verify/cache/'+Math.random()\">验证码不正确！看不清？换一张</span>");
								//var xy = getElementPos(_q("validate"));
								//document.documentElement.scrollTop=xy.y-100;
								//_q("validate").focus();
							}
							if (exName == "exVali") {
								kflErr(exName, "回答不正确！");
								//var xy = getElementPos(_q("vali"));
								//document.documentElement.scrollTop=xy.y-100;
								//_q("vali").focus();
							}
						}
					}
				}
				xmlhttp.open("GET", "/action/?s=valiSession&n=" + name + "&v=" + escape(value), true);
				xmlhttp.send();
			}

			function kflErr(name, value) {
				_q(name).className = "pexErr";
				_q(name).innerHTML = value;
			}

			function kflRig(name) {
				_q(name).className = "pexRig";
				_q(name).innerHTML = "";
			}
			
			
		</script>
		<script type="text/javascript">
				$("#addinput").click(function(){
					if ($("#exTitleimg").children().length>=5) {
						$("#addinputtr").css("display","none");
						return;
					}
					var ele=$("#fileinput");
					ele.clone(true).appendTo($("#exTitleimg"));
				});
				
				$("#addinputimg").click(function(){
					if ($("#exTitleimg").children().length<=5) {
						$("#addinputtr").css("display","block");
					}
					if ($("#exTitleimg").children().length==1) {
						return;
					}
					$(this).parent().remove();
				});
				
		</script>
		<!--载入foot.html-->
		<div class="linkbox">
	<div class="title"><img src="/bminfo/Public/Home/picture/ban25.jpg" alt="友情链接" /></div>
	<div class="link" align="left">
		<ul id="link">
		<?php foreach($friends as $friend):?>
			<li><a href="<?php echo $friend['link_url'] ?>" target="_blank"><?php echo $friend['link_name'] ?></a></li>
		<?php endforeach;?>
		</ul>
	</div>
</div>
<div class="footdh">－
	<a href="/bminfo/index.php/Home/About/index" target="_blank">关于我们</a>　－　<a href="/bminfo/index.php/Home/About/contact" target="_blank">联系我们</a>　－　<a href="/bminfo/index.php/Home/About/guanggao" target="_blank">广告服务</a>　－　<a href="/bminfo/index.php/Home/About/links" target="_blank">友情链接</a>　－　<a href="/bminfo/index.php/Home/About/join"
	target="_blank">合作加盟</a>　-
</div>
<div class="foot" align="right">
	虎林信息网网页内的所有信息均为用户自由发布，交易时请注意识别信息的虚假，交易风险自负！
	<br /> 网站内容如有侵犯您权益请联系我们删除，举报信息、删除信息联系客服　服务热线 QQ 371999580
	<br /> Copyright &copy; 2015 <a href="http://www.hulin.cc" target="_blank">虎林信息网 </a> 版权所有 ICP证：黑ICP备14005525号-2
	<br />
	<a href="http://www.hulin.cc" target="_blank" style="font-family:Arial, Helvetica, sans-serif; font-size:10px; text-decoration:none;" title="虎林信息网">Powered By <strong style="color:#006699"><strong style="color:#FF6600">H</strong>ulin</strong>.cc</a>
	<br/>
	
</div>
<div id="telInfo" class="telInfo"></div>
</div>
</body>
</html>